#ifndef CONSTANTTRACKER_H
#define CONSTANTTRACKER_H

/* 
   ConstantTracker.h
   Author: Mike Ciaraldi

   Contains the ConstantTracker class, 
   which simulates (not very well :-) ) a motion
   tracker by always returnign constat data

*/

#include "Tracker.h"
#include "PolhemusFrame.h"

#ifndef NULL
#define NULL ((void*) 0)
#endif

class ConstantTracker: public Tracker {

 public:
  // Constructor(s) and Destructor
  ConstantTracker(void); 
  ~ConstantTracker(void);

  // Overriding methods:
  int open();
  int close();
  int poll(float *out);

  int start(){ return 1; };
  int sync(){ return 1; };
  int stop(){ return 1; };
  int read(){ return 1; };
  int nextFrame(){ return 1; };
  int getData(int sensor, int channel, float &value){return 1; };
  char *getErrorInfo(void);


  // Variables:
  char errorMsg[POL_ERROR_MSG_SIZE];	// buffer for messages

};

#endif /* CONSTANTTRACKER_H */
